home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!netnews
- From: sfluhrer@ix.netcom.com(Scott Fluhrer)
- Newsgroups: comp.lang.c
- Subject: Re: Bus error
- Date: 7 Mar 1996 02:44:20 GMT
- Organization: Netcom
- Message-ID: <4hlii4$692@cloner2.ix.netcom.com>
- References: <DnuvJG.CA5@cdf.toronto.edu> <4hlqcd$gqj@newsflash.hol.gr>
- NNTP-Posting-Host: ix-clv1-12.ix.netcom.com
- X-NETCOM-Date: Wed Mar 06 6:44:20 PM PST 1996
-
- sakarab@promitheus.hol.gr (Sam Mardirosian) wrote:
- >a488load@cdf.toronto.edu (Lo Adley) wrote:
- >>
- >> Could you tell me what 'bus error' means?
- >
- >Your code is trying to read an int/long on odd addresses (as far as I
- >can remember) and your proccessor does not support this (possibly
- >MC680x0).
- Incorrect. On a 68000/68008/68010, accessing an int/long on an odd
- address causes an *address* error. A bus error was originally an error
- that is signaled on a memory access by a device external to the CPU,
- typically, by the MMU. When they moved the MMU onto the CPU chip, they
- didn't rename the exception, so now it means that the program attempted
- to access memory that was not mapped by the MMU. If this error wasn't
- handled by the OS (say, to support virtual memory), it means that this
- statement:
- >This simply put, means you have ... r roving pointer.
- is accurate.
- >
- >(Uncle...) Sam.
- >
- poncho
-
-